<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>window</title>
</head>
<body>


<div id="app">
    <h5>当前年龄为:{{age}}</h5>
    <button @mouseover="age--">我是按钮哈哈哈</button>
    <button @click="age++">我是按钮,点我年龄增长</button>
    <input @keyup="age++"/>
</div>


<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    let app = new Vue({
            el: "#app",
            data:{
                age:18
            }

        })
    ;
</script>
</body>
</html>